<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <button onclick="logout">点我一下</button>
<script>
    function logout(){
        window.open('http://localhost:63342/springboot/templates/login.html') ;
    }
</script>
</body>
</html>